package com.life.wd.mapper;

import com.life.wd.entity.Employee;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface EmployeeMapper {
    @Insert("insert into employee (name, username, password, phone, sex, status, create_time, update_time) " +
            "values (#{name}, #{username}, #{password}, #{phone}, #{sex}, #{status}, #{createTime}, #{updateTime});")
    void insert(Employee employee);
}
